import numpy as np

arr = np.eye(4)

print(arr)
print(arr.ndim)
print(arr.shape)
print(arr.size)
print(arr.dtype)
print(arr.itemsize)
print(arr.data)

a = np.array([1, 2, 3])
print(a)

a = np.array([[1, 2], [3, 4]])
print(a)

a = np.array([1, 2, 3, 4, 5], ndmin=2)
print(a)

a = np.array([1, 2, 3], dtype=complex)
print(a)
